package com.xmtlxx.wms.domain.vo;

import com.xmtlxx.common.annotation.ExcelDictFormat;
import com.xmtlxx.common.convert.ExcelDictConvert;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


/**
 * 库区视图对象 t_store_area
 *
 * @author xmtlxx
 * @date 2022-08-15
 */
@Data
@ApiModel("库区视图对象")
@ExcelIgnoreUnannotated
public class StoreAreaVo {

    private static final long serialVersionUID = 1L;

    /**
     * 库区ID
     */
    @ExcelProperty(value = "库区ID")
    @ApiModelProperty("库区ID")
    private String id;

    /**
     * 库区编号
     */
    @ExcelProperty(value = "库区编号")
    @ApiModelProperty("库区编号")
    private String ano;

    /**
     * 所属仓库
     */
    @ApiModelProperty("所属仓库")
    private String storeId;

    /**
     * 库区名称
     */
    @ExcelProperty(value = "库区名称")
    @ApiModelProperty("库区名称")
    private String name;

    /**
     * 库区级别
     */
    @ExcelProperty(value = "库区级别", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "wms_area_level")
    @ApiModelProperty("库区级别")
    private String levels;

    /**
     * 库区类型
     */
    @ExcelProperty(value = "库区类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "wms_area_type")
    @ApiModelProperty("库区类型")
    private String type;

    /**
     * 状态
     */
    @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_common_status")
    @ApiModelProperty("状态")
    private String status;

    /**
     * 删除标识
     */
    @ExcelProperty(value = "删除标识", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_del_flag")
    @ApiModelProperty("删除标识")
    private String delFlag;


    @ExcelProperty(value = "所属仓库")
    @ApiModelProperty("所属仓库")
    private String storeName;

    @ApiModelProperty("上级库区")
    private String parentId;
    /**
     * 祖级列表
     */
    @ApiModelProperty("祖级列表")
    private String ancestors;

}
